package com.qingyun.feedbackservice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 课堂反馈-照片
 * </p>
 *
 * @author your_name
 * @since 2025-08-23
 */
@Getter
@Setter
@TableName("tb_feedback_photo")
public class FeedbackPhoto implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 反馈ID
     */
    @TableField("feedback_id")
    private Long feedbackId;

    /**
     * 图片URL
     */
    @TableField("url")
    private String url;

    /**
     * 排序号
     */
    @TableField("sort_no")
    private Integer sortNo;

    /**
     * 创建时间
     */
    @TableField("createTime")
    private LocalDateTime createTime;
}
